<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>mybatis的增删该查</h2>
<form  th:action="@{/music/addMusic}"  method="post">
    音乐名称: <input type="text" name="name"/><br/>
    音乐类型: <input type="text" name="type"/><br/>
    歌手: <input type="text" name="author"/><br/>
       时间参数: <input type="text" name="createTime"/><br/>
    <input type="submit"/>
</form><br/><hr/>
<!--
    http://127.0.0.1:8080/music/input.html
 http://127.0.0.1:8080/music/pages/ok
    -->
<h2>文件上传示例</h2>
    <form action="/music/upload" method="post"  enctype="multipart/form-data">
        选择多个文件:<input type="file" name="filename" multiple="multiple"><br>
       兴趣1: <input type="text" name="hobby" /><br>
       兴趣2: <input type="text" name="hobby" /><br>
        兴趣3:<input type="text" name="hobby" /><br>
        用户名:<input type="text" name="username" /><br>
        <input type="submit"/>
    </form>

</body>
</html>